Repository navigation
ENG-13516: Lead API reference titles with rx names for docs search - #7647
Conversation
There was a problem hiding this comment.
No issues found across 4 files
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Turn on auto-fix | Re-trigger cubic
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryAPI reference page titles now lead with public names such as
The earlier, unnumbered test-maintenance finding is addressed: the source-slicing test has been removed. Reviews (4) · Last reviewed commit: "Make the API reference name helper priva..." · Reviewed by Greptile |
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Merging this PR will degrade performance by 5.09%2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Sending rx.* queries raw ranks component pages higher than the rewritten words, and the rewrite returned no results for rx.el.* names. Put the public name in API reference titles instead (rx.State API Reference), the same approach component titles use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lead generated API reference page titles with the public name users search for, such as
rx.State API Reference · Reflex Docsandrx.event.EventSpec API Reference · Reflex Docs. Classes not exported onrx(StateManager) keep their bare name.Component pages already rank first for raw
rx.*queries because #7580 put the identifier in their titles. This applies the same approach to API reference pages.rx.Statecurrently doesn't put its reference page in the top 10 results.The earlier client-side query rewrite (
rx.button→button) is removed. On the live index it lowered component rankings (rx.table1st → 6th) and returned no results forrx.el.*names.Verified with a regression test in
docs/app/tests/test_routes.pyand a local docs build: the titles render as expected, andrx.el.divreturns results again. The ranking effect forrx.Stateshows only after the docs are deployed and re-indexed.🤖 Generated with Claude Code